package vip.liux.backend.application.service.pay.dto.order;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.util.Map;

@Data
public class PayOrderSubmitInputDto {

    @NotNull(message = "支付单编号不能为空")
    private String orderNo;

    @NotEmpty(message = "支付渠道不能为空")
    private String channelCode;

    private Map<String, String> channelExtras;

    private String displayMode;

    @URL(message = "回跳地址的格式必须是 URL")
    private String returnUrl;

}
